]> dgit.raspbian.org Git - gnome-shell.git/commit
shell: Do not create a systemd scope when using D-Bus app launching
authormsizanoen1 <msizanoen@qtmlabs.xyz>
Thu, 26 May 2022 06:15:06 +0000 (13:15 +0700)
committerMarge Bot <marge-bot@gnome.org>
Tue, 7 Jun 2022 14:35:02 +0000 (14:35 +0000)
commitafcd58e3bafe7ac817f883f40e87993ebfe482a7
treead513695c3ae8142ec2959404a85b73c369a0fce
parentea60bf4bc7770135f35bab571a7ecee473057abc
shell: Do not create a systemd scope when using D-Bus app launching

Applications launched using D-Bus activation will have a returned PID of
0, which systemd interprets as moving the requesting process to a new
scope, causing GNOME Shell to be moved to another scope. Fix this by not
creating a systemd scope when PID is 0.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2305>
src/shell-global.c